<html>
<%@ page import="java.util.*" %>
<%@ page import="model.Bag" %>
<jsp:useBean id="resultAll" scope="request" type="ArrayList<model.Bag>" />
<head>
<script type="text/javascript" src="static/js/rakarh1.js"></script>
<link rel="stylesheet" type="text/css" href="static/css/rakarh1.css" /> 
</head>
<body>
<a href='s'>servlet</a> | <a href='log.txt'>log.txt</a> <br> 

<table border="1" width="100">
<thead>
	<tr>
		<th>ID</th>
		<th>Type</th>
		<th>Price</th>
		<th>&nbsp;</th>
	</tr>
</thead>
<tbody>
	<% for (Bag b : resultAll){ %>
		<tr>
			<td>
				<%=b.getId() %>
			</td>
			<td>
				<%=b.getType() %>
			</td>
			<td>
				<%=b.getPrice() %>
			</td>
			<td>
				<a href="?id=<%=b.getId() %>">Muuda</a>
			</td>
		</tr>
	<% } %>
</tbody>
</table>



<hr>
</body>
</html>
